#ifndef USER_H_
#define USER_H_

#include "../ipc/Queue.h"
#include "../ipc/Message.h"
#include "../common/CommonFunctions.h"

#include <string>
#include <iostream>

using namespace std;

class User
{
private:
	int userId;
	string nick;
	Queue<message>* queue;
public:
	User(int userId, string nick);
	void sendMessage(message m);
	int getUserId();
	string getNick();
	virtual ~User();
};

#endif /*USER_H_*/
